package multiThreading.producerConsumerSimple;


public class Producer implements Runnable {
	
	Producer(Buffer b){
		buffer =b;
	}
	
	
	private Buffer buffer = new Buffer();
	
	@Override
	public void run() {
		int i =0;
		while(i++<50){
			buffer.insert();
		}
	}
	

}
